<?php

/**
 * Description of components
 *
 * @author Jacobo Martínez
 */

class nominationComponents extends sfComponents{
    public function executeCategories()
    {
        $this->categories = Doctrine::getTable('Category')->findAll();
        
        $this->categories_done = $this->getUser()->getGuardUser()->getCategoriesDoneNomination();
    }
}

?>
